<%--
  Created by IntelliJ IDEA.
  User: 张国庆
  Date: 2019/9/23
  Time: 22:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>专辑管理模块</title>
    <link  type="text/css" rel="stylesheet" href="layui/css/layui.css">
    <script src="layui/layui.js" type="text/javascript"></script>
    <script src="js/jquery-1.12.4.js" type="text/javascript"></script>
    <script type="text/javascript">
        layui.use(["layer","table","form"],function () {
                var layer = layui.layer;
                var form = layui.form;
                var table = layui.table;
                table.render({
                    elem:"#myTable",
                    url:"album/showPageAlbum",
                    page:true,
                    cols:[[
                        {title:"专辑编号",field:"id"},
                        {title:"专辑名称",field:"name"},
                        {title:"专辑作者",field:"author"},
                        {title:"专辑法名",field:"teller"},
                        {title:"专辑数量",field:"episodes"},
                        {title:"上架日期",field:"time"},
                        {title:"专辑内容",field:"content"},
                        {title:"专辑图片",field:"image"},
                        {title:"专辑状态",field:"star"},
                    ]]
                })
            })
    </script>
</head>
<body>
<table id="myTable"></table>
</body>
</html>
